import { createApp } from "vue";
import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
import App from "./App.vue";
import router from "./router";
// 引入组件样式
import "vant/lib/index.css";
import "uno.css";
import "./assets/styles/theme.css";

import "vue3-carousel/dist/carousel.css";

// 创建并配置pinia
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

const app = createApp(App);
app.use(pinia);
app.use(router);

app.mount("#app");
